<template>
  <Page>
    <ExCharts :option="chart" />
  </Page>
</template>

<script setup lang="ts">
import type { ExChartsOption } from '@expresso/plus'
import { ExCharts } from '@expresso/plus'

const chart = shallowRef<ExChartsOption>({
  xAxis: {
    type: 'category',
    data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
  },
  yAxis: {
    type: 'value',
  },
  series: [
    {
      data: [150, 230, 224, 218, 135, 147, 260],
      type: 'line',
    },
  ],
})
</script>

<style scoped></style>
